<style>body {font-size:11px} pre {font:11px mono;border-bottom:1px solid #ddd; padding-bottom:0.3em; margin:0.3em;}</style>
<script src='http://protozoa.googlecode.com/svn/trunk/js/functions.js'></script>
<script src='http://protozoa.googlecode.com/svn/trunk/js/utils.js'></script>
<script src='lex3.js'></script>
<script>


var xhr = new XMLHttpRequest;
xhr.open('GET', 'text2.txt', false);
xhr.send(null);
var text = xhr.responseText;

var l = {};

lex_merge(l, lex_re(/провер\w+/, function(){ return '[' + yytext + ']' }));
lex_merge(l, lex_re(/\s[Мм]ы\s+(\w\w\w\w+)/, function(){ return '[' + yytext + ': ' + $1 + ']' }));


lex_merge(l, lex_re(/./));

lex_run(l, text);



</script>




















